class CreateTblocks < ActiveRecord::Migration
  def self.up
    create_table :tblocks do |t|
      t.string :ml_class
      t.string :classification
      t.integer :avgh
      t.string :format
      t.integer :h
      t.integer :p
      t.integer :s
      t.integer :tbid
      t.references :article
      t.references :page

      t.timestamps
    end
  end

  def self.down
    drop_table :tblocks
  end
end
